bitkeeper revision 1.1159.42.2 (4124b039yQGTqk4tjyHEoXGty5VlPg)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 19 Aug 2004 13:50:49 +0000 (13:50 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 19 Aug 2004 13:50:49 +0000 (13:50 +0000)
commit8e9f7aa2977967bce51c83adf16e48ad6f378dfc
tree777061d19f04e45dd3dcbc5e3ecb8286d610a9f5
parentb5489b4dd364ef7841c265d77503ac3ebe6d0532
bitkeeper revision 1.1159.42.2 (4124b039yQGTqk4tjyHEoXGty5VlPg)

Fix use of the phys_to_machine_mapping table in Linux 2.4 and 2.6.
We now ensure that the table contains no MFNs that do not belong
the OS --- invalid entries contain a sentinel value; deliberate
foreign mappings have the high bit set. This means the pte_page() and
pte_pfn() will do the right thing despite possible aliasing in the
M2P table.
linux-2.4.26-xen-sparse/arch/xen/drivers/balloon/balloon.c
linux-2.4.26-xen-sparse/include/asm-xen/pgtable-2level.h
linux-2.6.7-xen-sparse/arch/xen/i386/kernel/pci-dma.c
linux-2.6.7-xen-sparse/arch/xen/i386/mm/hypervisor.c
linux-2.6.7-xen-sparse/drivers/xen/blkback/blkback.c
linux-2.6.7-xen-sparse/drivers/xen/blkfront/blkfront.c
linux-2.6.7-xen-sparse/drivers/xen/netback/netback.c
linux-2.6.7-xen-sparse/drivers/xen/netfront/netfront.c
linux-2.6.7-xen-sparse/include/asm-xen/asm-i386/pgtable-2level.h